package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Employee;

import java.util.List;

public interface EmployeeService extends IService<Employee>{
    public Employee selectemployeebyusername(String username);
    public void addemployee(Employee employee);
    public List<Employee> selectallbypage(int pagecount,int pageSize);
    public long selectcount();
    public List<Employee> selectbypageandname(int pagecount,int pageSize,String name);
    public void updatestatusbyid(Employee employee);
    public Employee selectemployeebyid(Long id);
    public void updateemployee(Employee employee);
}
